package com.reshare.mapper;

import com.reshare.base.BaseMapper;
import com.reshare.bean.UserRole;

public interface UserRoleMapper extends BaseMapper<UserRole,Integer> {


    //查询用户的所有角色
    int countUserOfRoleByUserId(Integer userId);

    //删除用户的所有角色
    int deleteUserRoleByUserId(Integer userId);
}